<div id='{{target_id}}' class='relatedcontent_div'>
    {{initial_target|safe}}
</div>
<a id='{{init_id}}' class='relatedcontent_init' href='{{target_url}}'>Select</a>